package com.banggood.user.bean.entity;

import com.banggood.pps.commons.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;

/**
 */
@Getter
@Setter
@Table(name = "user")
public class User extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     */
    @Id
    @Column(name = "user_id")
    private Long userId;

    /**
     */
    @Column(name = "name")
    private String name;

    /**
     */
    @Column(name = "age")
    private Integer age;
}